package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 设备维护记录表
 * </p>
 *
 * @author wtf
 * @since 2023-11-08
 */
@Getter
@Setter
@TableName("rb_equipment_maintenance_records")
@ApiModel(value = "EquipmentMaintenanceRecords对象", description = "设备维护记录表")
public class EquipmentMaintenanceRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("设备名称")
    private String taskName;

    @ApiModelProperty("维护人员姓名")
    private String maintenanceName;

    @ApiModelProperty("维护内容")
    private String maintenanceContent;

    @ApiModelProperty("维护时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    @ApiModelProperty("维护结果")
    private String maintenanceResult;

    @ApiModelProperty("备注")
    private String notes;


}
